home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Overview / Sample / README < prev    next >
Encoding:
Text File  |  1994-11-18  |  3.2 KB  |  84 lines  |  [TEXT/MPS ]

  1. Macintosh
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. #1:    Sample
  7.  
  8. Written by:    Darin Adler, Mark Bennett, and Jim Reekes
  9.  
  10. Versions:            1.00                        August 1988
  11.                     1.01                        November 1988
  12.                     1.02                        April 1989
  13.                     1.03                        June 1989
  14.                     1.04                        June 1992
  15.                     1.05                        October 1994
  16.  
  17.  
  18. Components:            Sample.p                June 1, 1989
  19.                     Sample.c                June 1, 1989
  20.                     SampleInit.c            June 2, 1992
  21.                     Sample.a                June 1, 1989
  22.                     Sample.inc1.a            June 1, 1989
  23.                     SampleMisc.a            June 1, 1989
  24.                     Sample.r                June 1, 1989
  25.                     Sample.h                June 1, 1989
  26.                     PSample.make            June 1, 1989
  27.                     CSample.make            June 1, 1989
  28.                     ASample.make            June 1, 1989
  29.                     CSample.π                June 2, 1992
  30.                     CSample.π.rsrc            June 2, 1992
  31. ____________________________________________________________________________
  32.  
  33. Major changes since 1.0
  34. Revamped the way that memory availability is checked and handled 
  35. at initialization.  Substantially changed the way windows are 
  36. closed.  Added an error message dialog to better inform users, and 
  37. improved error handling in general.  Finally, put a funny hack 
  38. into the C version so we could call _PurgeSpace under MPW 2.0.2.
  39.  
  40. Search for “1.01” in the code to find all the specific changes.
  41.  
  42. Major changes since 1.01
  43. Removed all dependencies on MPW 2.0; this version requires MPW 3.0 
  44. or later.  Improved TrapAvailable to handle differences between 
  45. machines prior to the Macintosh II and the Macintosh II and later 
  46. models.
  47.  
  48. Search for “1.02” in the code to find all the specific changes.
  49.  
  50. Major Changes for 1.04
  51. This version requires MPW 3.2 or THINK C 5.0
  52. Sample now works with THINK C 5.0.
  53. This involved separating Sample.c, the original C version, into two
  54. separate files, one for segment Main, and one for Segment Initialize.
  55. This was due to the way that THINK C handles its segmentation.
  56. Also a THINK C project file and resource (.rsrc) file were created.
  57. In Sample.inc1.a, some data structure EQUates were commented out
  58. because they were added to the MPW 3.2 header files.
  59.  
  60. Major Changes for 1.05
  61. Updated to Universal Interfaces for ETO #16.
  62. _____________________________________________________________________________
  63.  
  64. Sample is an example application that demonstrates how to 
  65. initialize the commonly used Toolbox managers, operate 
  66. successfully under MultiFinder, handle desk accessories, and 
  67. create, grow, and zoom windows.
  68.  
  69. It does not, by any means, demonstrate all the techniques you need 
  70. for a large application.  In particular, Sample does not cover 
  71. exception handling, multiple windows or documents, sophisticated 
  72. memory management, printing, or undo, all of which are vital parts 
  73. of a normal full-sized application.
  74.  
  75. This application is an example of the form of a Macintosh 
  76. application; it is not a template.  It is not intended to be used 
  77. as a foundation for the next world-class, best-selling, 600K 
  78. application.  A stick figure drawing of the human body may be a 
  79. good example of the form for a painting, but that does not mean it 
  80. should be used as the basis for the next Mona Lisa.
  81.  
  82. We recommend that you review this program or TESample before 
  83. beginning a new application.
  84.